<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html>
<%
String path = request.getContextPath();
String imgPath=path+"/images";
%>
<head>
<title>摄相机信息</title>
<script type="text/javascript">
function checkExecute(){
		var ids = tree.getSelectedItemId();
		var texts = tree.getItemText(ids);
		if(texts=='0'){
		texts="";
		}
		//alert(ids);
		//alert(texts);
		var returnval = "";
		window.returnValue = ids+"_"+texts;
		
		window.close();
	}
</script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/common/tree/codebase/dhtmlxcommon.js"></script>
	<link rel="stylesheet" href="${pageContext.request.contextPath }/common/tree/codebase/dhtmlxtree.css" type="text/css"></link>
	<script type="text/javascript" src="${pageContext.request.contextPath }/common/tree/codebase/dhtmlxtree.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/common/jquery.js"></script>
</head>
<body>
<div align="center" style="width: 100%;height: 24px;margin-top: 5px;">
<span style="width: 300px;height:24px; font-size: 14px;color: #ffffff;"  class="Xnav_bg"><strong>区域选择：</strong></span></div>
<div style="border: 1px;" align="center">
<div id="treeBox" style="border:  1px solid #939393;width: 300px;height: 400px;background: #ffffff;" align="left"></div>
 <img src="<%=imgPath%>/fwzcX_36.jpg" style="cursor: hand;margin-top: 10px;"
                         width="83" height="26" onclick="checkExecute();" />&nbsp;&nbsp;
</div>
	<script type="text/javascript">
		tree = new dhtmlXTreeObject('treeBox','100%','100%',0);
		tree.setImagePath("${pageContext.request.contextPath }/common/tree/codebase/imgs/");
		tree.loadXML("${pageContext.request.contextPath }/admin/Dmb_getTree.action");
		
	</script>

</body>
</html>
